package com.tansuo365.test1.bean.kucunbean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tansuo365.test1.bean.InfoData;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class WuliaoKucunSear implements Serializable,InfoData {
    private Integer id;

    private String xiangmuweihu;

    private String rukukufang;

    private String dalei;

    private String wuliaobianma;

    private String mingchengguige;

    private String danwei;

    //期初库存,在时间查询时,该字段要展示出来,并且是查询开始时间的前一天的该物料的结余数量
    private Double qichukucun;

    private Double shourushuliang;

    private Double fachushuliang;

    private Double tuihuishuliang;

    private Double jieyushuliang;

    private String jiagongyigong;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createtime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatetime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Transient
    private String s_btime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Transient
    private String s_etime;

    @Transient
    private String sort;
    @Transient
    private String order;

}